package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Date;
import java.util.Date;
import java.util.Date;

@Data
@ApiModel("群组基本信息实体")
@TableName("zhike_group_base")
public class ZhikeGroupBase implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="g_id", type= IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String gId;

    @ApiModelProperty(value = "群号码")
    private String groupNumber;

    @ApiModelProperty(value = "状态")
    private Integer gStatus;

    @ApiModelProperty(value = "群名")
    private String gName;

    @ApiModelProperty(value = "群主")
    private Long gOwnerUserUid;

    @ApiModelProperty(value = "群公告")
    private String gNotice;

    @ApiModelProperty(value = "群人数上限")
    private Long maxMemberCount;

    @ApiModelProperty(value = "")
    private Long gMemberCount;

    @ApiModelProperty(value = "群首次建立者id。")
    private Long createUserUid;

    @ApiModelProperty(value = "")
    private Date createTime;

    @ApiModelProperty(value = "用于记录封禁群的后台人员id。")
    private Long forbidUserUid;

    @ApiModelProperty(value = "用于记录封禁群的时间。")
    private Date forbidTime;

    @ApiModelProperty(value = "用于记录封禁群的理由。")
    private String firbidCause;

    @ApiModelProperty(value = "")
    private Date gNoticeUpdatetime;

    @ApiModelProperty(value = "")
    private Long gNoticeUpdateuid;

    @ApiModelProperty(value = "")
    private Long delUserUid;

    @ApiModelProperty(value = "")
    private Date delTime;

    @ApiModelProperty(value = "")
    private Long avatarIncludeCnt;

    @ApiModelProperty(value = "全员禁言（1丶是 2丶否）")
    private String allPersonProhibitMsg;

    @ApiModelProperty(value = "隐私群组（1丶是 2丶否）")
    private String privacyGroups;

    @ApiModelProperty(value = "入群验证（1丶是 2丶否）")
    private String groupingVerification;

    @ApiModelProperty(value = "是否允许群内成员私聊  0：允许  1：不允许")
    private Long allowPrivateChat;

    @ApiModelProperty(value = "社区分类")
    private Long category;

    @ApiModelProperty(value = "群短号")
    private String groupCornet;

    @ApiModelProperty(value = "地区")
    private String region;

    @ApiModelProperty(value = "语音模式（1丶是 2丶否）")
    private String voiceMode;

    @ApiModelProperty(value = "区域ID")
    private Long regionId;

    @ApiModelProperty(value = "设置发言间隔")
    private String speechInterval;

}
